#!/usr/bin/env python
# -*- coding: UTF-8 -*-
# @Project : chat_model 
# @File    : knowledge_crud.py
# @IDE     : PyCharm 
# @Author  :ZH
# @Time    : 2025/1/10 15:38
__all__ = ['knowledge_crud']

from apps.cruds.crud_base import CRUDBase
from apps.models import Knowledge
from apps.schemas.knowledge_schema import CreateKnowledgeSchema, UpdateKnowledgeSchema


class CRUDKnowledge(CRUDBase[Knowledge, CreateKnowledgeSchema, UpdateKnowledgeSchema]):
    __doc__ = "向量服务持久层"


knowledge_crud = CRUDKnowledge(Knowledge)
